package com.photovoltaic.neo4j.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("company_relation")
public class CompanyRelation {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long sourceCompanyId;
    private Long targetCompanyId;
    private Long targetIndustryId;
    private Long targetProductId;
    private String relationType;  // BELONGS_TO, PRODUCES, SUPPLIES, UPSTREAM_OF
    private String properties;
} 